<?php

namespace ChanTienGioi\Backend\Controllers;

class MarketingController extends \library\THAdminController
{

    public function indexAction()
    {
        $from_date = $this->request->getPost("from_date", null, date("Y-m-d"));
        $to_date   = $this->request->getPost("to_date", null, false);
        if ($this->request->isPost())
        {
            $this->view->setRenderLevel(\Phalcon\Mvc\View::LEVEL_ACTION_VIEW);
            $this->view->is_post = 1;
        }
        $this->view->is_post = 0;
    }

}
